"use strict";

var util = require('util');
var BaseFilter = require('./FilterBase.js');
var vocabulary = require('./wordSingle.json');
/**
 * 过滤单个 '文字'
 * @constructor
 */
function FilterSingle(__isDebug) {
  this.__isDebug = __isDebug;
  this.__passed = [];
  this.__blocked = [];
  this.init(vocabulary.acceptList, vocabulary.rejectList);
}
util.inherits(FilterSingle, BaseFilter);
module.exports = FilterSingle;

var theProto = FilterSingle.prototype;

theProto.detailFilter = function (str) {
  //return str.length > 1;
  return true;
};